* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body, #root, .wrap {
    width: 100%;
    height: 100%;
}

.home-page  {
    display: flex;
    flex-direction: column;
    main {
        flex: 1;
        overflow: auto;
    }
    footer {
        height: 45px;
        line-height: 45px;
        display: flex;
        a {
            flex: 1;
            text-align: center;
            text-decoration: none;
            color: #333333;
            &.active {
                background: royalblue;
                color: white;
            }
        }
    }
}


.main-page, .cart-page {
    width: 100%;
    height: 100%;
    .cart-p{
        width: 100%;
        height: 50px;
        background: #eee;
        line-height: 50px;
        position: fixed;
        // z-index: -1;
        bottom: 45px;
        span{
            margin:  0 210px 0 5px ;
        }
    }
    .item {
        display: flex;
        dt{
            flex: 1;
            text-align: center;
        }
        dd{
            flex: 2;
        }
        button{
            width: 40px;
            height: 40px;
            color: white;
            outline: none;
            background: lightcoral;
            border: 0;
        }
    }
    .items{
        display: flex;
        p{
            display: flex;
            align-items: center;
            flex: 1;
            text-align: center;
        }
        dt{
            flex: 1;
            text-align: center;
        }
        dd{
            flex: 6;
        }
        button{
            width: 30px;
            height: 30px;
            color: white;
            outline: none;
            background: lightcoral;
            border: 0;
        }
    }
    button {
        background: #cccccc;
    }

}
